var IndexController = new (function ()
{
    "use strict";

    var _self = this;

    /**
     * @returns {String}
     */
    this.toString = function ()
    {
        return 'IndexController';
    };

    this.excluir = function (id) {
        Zf2.Ajax().submit({
            "route": "deletar",
            "data": {"id": id},
            "callbackSuccess": function () {
                Core.refresh();
            }
        });
    };

    Core.console.debug(this.toString(), 'init', Core.console.type.INFO);
});
